package com.ease.framework.figures
{
	import flash.display.DisplayObject;

	import mx.core.IUIComponent;

	/**
	 * 画布上的图形基类接口.
	 *
	 * @author James Hu
	 *
	 */
	public interface IFigure extends IUIComponent
	{
		/**
		 * find the figure at the stage point.
		 *
		 * @param stageX
		 * @param stageY
		 * @return
		 *
		 */
		function findFigureAt(stageX:Number, stageY:Number):IFigure;

		function addChild(child:DisplayObject):DisplayObject;

	}
}
